<template>
<router-link to="/account">
<section class="user-module">
    <div class="user-info-wrap">
      <div class="user-img-wrap">
        <img
          class="user-img"
          src="//p0.meituan.net/travelcube/3b142f09b750b48bf0927588b90e01ce10757.png"
        />
      </div>
      <div class="user-text-content">
        <div class="user-name-wrap">
          <span class="user-name">umD810846700</span>
          <div class="level-0"></div>
        </div>
        <div class="account-wrap">
          账户余额：<span class="account-count">0</span>元
        </div>
      </div>
    </div>
  </section>
</router-link>
  
</template>

<script setup>
</script>

<style lang="less" scoped>
.user-module {
  width: 100vw;
  padding: 3.7vw 2.7vw 3.7vw 5.3vw;
  box-sizing: border-box;
  background: url(http://s3plus.meituan.net/v1/mss_e2821d7f0cfe4ac1bf9202ecf9590e67/cdn-prod/file:d5896c44/touch/img/my-photo.png);
  background-size: cover;
  background-repeat: no-repeat;
  .user-info-wrap {
    display: flex;
    align-items: center;
    .user-img-wrap {
      width: 16vw;
      height: 16vw;
      border-radius: 16vw;
      overflow: hidden;
      .user-img {
        width: 16vw;
      }
    }
    .user-text-content {
      margin-left: 5.3vw;
      .user-name-wrap {
        display: flex;
        align-items: center;
        .user-name {
          margin-right: 2.7vw;
          font-size: 4vw;
          color: #333;
        }
        .level-0 {
          width: 4vw;
          height: 4vw;
          background: url(http://s3plus.meituan.net/v1/mss_e2821d7f0cfe4ac1bf9202ecf9590e67/cdn-prod/file:d5896c44/touch/css/i/vip3.png);
          background-size: cover;
        }
      }
      .account-wrap {
        margin-top: 3.5vw;
        font-size: 3.2vw;
        color: #666;
        .account-count {
          color: #ff9712;
        }
      }
    }
  }
}
</style>